package cc.comac.saic.hkhy.jsrj.gj.inttools.gitlab;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author: Nemo
 * @ClassName: GitlabConstants
 * @Date: 2025/7/2 19:37
 * @Description: 訪問gitlab时使用的url
 **/
@Component
public class GitlabConstants {
    private static GitlabConfig config;
    @Autowired
    public void setConfig(GitlabConfig gitlabConfig){
        config = gitlabConfig;
    }

    public static String url() {
        return config.getUrl();
    }

    public static String token() {
        return config.getToken();
    }
}
